import React, { memo } from 'react'
import { RoomItemWrapper } from './style'

const RoomItem = memo((props) => {
  const { roominfo, roomwidth } = props

  return (
    <RoomItemWrapper roomwidth={roomwidth}>{ roominfo.name }</RoomItemWrapper>
  )
})

export default RoomItem